package com.niit.xlztest.service;

import com.niit.xlztest.bean.BorrowRecord;
import com.niit.xlztest.bean.Shopping_cart;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface BuyService {
    void buyBook(Integer book_id);
    void cart(Shopping_cart shopping_cart);
    List<Shopping_cart> findAllBookInCart(Integer user_id);
    void deleteByUserIdAndBookId(@Param("userId") Integer userId, @Param("bookId") Integer bookId);
}
